package com.innovate.nms.domain;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;

import com.ivan.toolkit.common.Configs;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement
@NoArgsConstructor
public class UdpConfig {
	
	public static Configs.Instance<UdpConfig> instance = 
			new Configs.Instance<UdpConfig>(UdpConfig.class, true);	
	
	
	@XmlAttribute
	@Setter @Getter
	private int listenPort = 7373;
	
	@XmlAttribute
	@Setter @Getter
	private int timeout = 5000;
	
	

}
